<?php
 Zend_Loader::loadClass("CodesUtility");
 Zend_Loader::loadClass("BaseLookup");
 class UserDetail extends BaseDBRow
 {
	const _tablename = "projecte_trade.user_details";
	protected $_primary = 'user_id';
 	protected function setUp()
 	{
 		$this->_tableName = self::_tablename;		
 	}
	public function deletebyid($id){
		if(!empty($id)){
			$sql="DELETE FROM ".$this->_tableName." WHERE user_id=".$id.";";
			$db = DBCon::instance();
			$db->executeQuery($sql);
		}
	}
 }
  
?>